package com.cj.springtest2.model;

import java.io.Serializable;

/**
 * Created by chenjun on 2016/10/13.
 */
public class User extends BasicModel  {

    private String password;
    private String userName;

    public User() {
        super();
    }

    public User(String userName, String password) {
        this.password = password;
        this.userName = userName;
    }

    public User(int id, String password, String userName) {
        super();
        this.id = id;
        this.password = password;
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
